package org.datamining.guha.data.provider;

import java.util.List;

import org.datamining.guha.model.literal.Literal;

/**
 * Data provider is an object that provides one row of literals at a time.
 *  
 * @author Lukas Vlcek
 */
public interface DataProvider {

	/**
	 * 
	 * @return
	 */
	public List<Literal> nextData();
	
	/**
	 * @return true if next data row can be retrieved from data provider.
	 */
	public boolean isDataAvailable();
}
